#include <iostream>
#include <string>
using namespace std;
int g_a=10;
int g_b=10;
const int c_g_a=10;
const int c_g_b=10;
int main(){
    int a=10;
    int b=10;
    cout<<"a address="<<&a<<endl;
    cout<<"b address="<<&b<<endl;

    cout<<"g_a address="<<&g_a<<endl;
    cout<<"g_b address="<<&g_b<<endl;

    static int s_a=10;
    static int s_b=10;
    cout<<"s_a address="<<&s_a<<endl;
    cout<<"s_b address="<<&s_b<<endl;
    string s="hello world!";
    cout<<"s address="<<&s<<endl;
    cout<<"c_g_a address="<<&c_g_a<<endl;
    cout<<"c_g_b address="<<&c_g_b<<endl;
    const int c_a=10;
    const int c_b=10;
    cout<<"c_a address="<<&c_a<<endl;
    cout<<"c_b address="<<&c_b<<endl;
    
    return 0;
}
